#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <assert.h>
#pragma once

typedef int SLDataType;

typedef struct Seqlish
{
	SLDataType* a;
	int size;
	int capacity;
}Seqlish;

void InitSeqlish(Seqlish* p);
void Push_Back(Seqlish* p,SLDataType a);
void Pop_Back(Seqlish* p);
void Push_Front(Seqlish* p, SLDataType a);
void Pop_Front(Seqlish* p);
void Print(Seqlish* p);
void Insert(Seqlish* p, int x, SLDataType a);
void Erase(Seqlish* p, int x);
void Destory(Seqlish* p);